func runtime.mallocgc
31 uses
runtime (current package)
chan.go#L97: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L103: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L108: c.buf = mallocgc(mem, elem, true)
iface.go#L147: t2 := (*itabTableType)(mallocgc((2+2*t.size)*goarch.PtrSize, nil, true))
iface.go#L344: x := mallocgc(t.Size_, t, true)
iface.go#L360: x := mallocgc(t.Size_, t, false)
iface.go#L372: x = mallocgc(2, uint16Type, false)
iface.go#L385: x = mallocgc(4, uint32Type, false)
iface.go#L404: x = mallocgc(8, uint64Type, false)
iface.go#L423: x = mallocgc(unsafe.Sizeof(val), stringType, true)
iface.go#L443: x = mallocgc(unsafe.Sizeof(val), sliceType, true)
iface.go#L526: newC := (*abi.TypeAssertCache)(mallocgc(newSize, nil, true))
iface.go#L632: newC := (*abi.InterfaceSwitchCache)(mallocgc(newSize, nil, true))
malloc.go#L983: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1386: return mallocgc(typ.Size_, typ, true)
malloc.go#L1402: return mallocgc(typ.Size_, typ, true)
malloc.go#L1407: return mallocgc(typ.Size_, typ, true)
malloc.go#L1425: return mallocgc(typ.Size_, typ, true)
malloc.go#L1431: return mallocgc(mem, typ, true)
mfinal.go#L220: frame = mallocgc(framesz, nil, true)
slice.go#L57: to = mallocgc(tomem, nil, false)
slice.go#L63: to = mallocgc(tomem, et, true)
slice.go#L116: return mallocgc(mem, et, true)
slice.go#L264: p = mallocgc(capmem, nil, false)
slice.go#L272: p = mallocgc(capmem, et, true)
slice.go#L400: return unsafe.Slice((*byte)(mallocgc(uintptr(cap), nil, false)), cap)[:len]
string.go#L122: p = mallocgc(uintptr(n), nil, false)
string.go#L277: p := mallocgc(uintptr(size), nil, false)
string.go#L284: p := mallocgc(cap, nil, false)
string.go#L299: p := mallocgc(mem, nil, false)
string.go#L318: bp := mallocgc(uintptr(n), nil, false)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |